import { CreateDate, Desc, Entity, Price, PrimaryUuid, Title, UpdateDate, Uuid } from "@sker/core";


@Entity({
    name: 'kd_service'
})
export class KdService {
    @PrimaryUuid()
    id: string;

    @Uuid({ comment: '所属代理', nullable: true })
    agent_id: string;

    @Title({ comment: '服务名' })
    title: string;

    @Desc({ comment: '服务简介' })
    desc: string;

    @Price({ comment: '服务价格' })
    price: number;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    udpate_date: Date;
}